<template>
  <el-form
      ref="menuForm"
      :model="categoryForm"
      label-width="120px" size="mini">
    <el-row>
      <el-col :span="20">
        <el-form-item label="基类型：">
          <el-input v-model="categoryForm.parentName" :disabled="categoryForm.parentName === ''"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="20">
        <el-form-item label="名称：">
          <el-input v-model="categoryForm.name"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  name: "CategoryForm",
  data() {
    return {
      categoryForm: {
        parentName: '',
        name: '',
      },
    }
  },




}
</script>

<style scoped>

</style>